.class public Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;
.super Landroid/os/AsyncTask;
.source "ChangeGroupTask.java"


# annotations
.annotation system Ldalvik/annotation/Signature;
    value = {
        "Landroid/os/AsyncTask",
        "<",
        "Ljava/lang/String;",
        "Ljava/lang/String;",
        "Ljava/lang/String;",
        ">;"
    }
.end annotation


# instance fields
.field private activity:Lcom/bitauto/autoeasy/picture/PictureActivity;

.field private sign:I


# direct methods
.method public constructor <init>()V
    .locals 0

    .prologue
    .line 20
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    .line 21
    return-void
.end method

.method public constructor <init>(Lcom/bitauto/autoeasy/picture/PictureActivity;)V
    .locals 0
    .parameter "activity"

    .prologue
    .line 15
    invoke-direct {p0}, Landroid/os/AsyncTask;-><init>()V

    .line 16
    iput-object p1, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->activity:Lcom/bitauto/autoeasy/picture/PictureActivity;

    .line 17
    return-void
.end method


# virtual methods
.method protected bridge varargs synthetic doInBackground([Ljava/lang/Object;)Ljava/lang/Object;
    .locals 1
    .parameter

    .prologue
    .line 1
    check-cast p1, [Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->doInBackground([Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    return-object v0
.end method

.method protected varargs doInBackground([Ljava/lang/String;)Ljava/lang/String;
    .locals 2
    .parameter "params"

    .prologue
    .line 30
    iget-object v0, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->activity:Lcom/bitauto/autoeasy/picture/PictureActivity;

    iget v1, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->sign:I

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/picture/PictureActivity;->downLoad(I)V

    .line 31
    const/4 v0, 0x0

    return-object v0
.end method

.method public getSign()I
    .locals 1

    .prologue
    .line 35
    iget v0, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->sign:I

    return v0
.end method

.method protected bridge synthetic onPostExecute(Ljava/lang/Object;)V
    .locals 0
    .parameter

    .prologue
    .line 1
    check-cast p1, Ljava/lang/String;

    invoke-virtual {p0, p1}, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->onPostExecute(Ljava/lang/String;)V

    return-void
.end method

.method protected onPostExecute(Ljava/lang/String;)V
    .locals 2
    .parameter "result"

    .prologue
    .line 43
    iget-object v0, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->activity:Lcom/bitauto/autoeasy/picture/PictureActivity;

    iget v1, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->sign:I

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/picture/PictureActivity;->refreshView(I)V

    .line 44
    sget-object v0, Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;->activity:Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;->setTitleProgressBar(Z)V

    .line 45
    return-void
.end method

.method protected onPreExecute()V
    .locals 2

    .prologue
    .line 25
    sget-object v0, Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;->activity:Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;

    const/4 v1, 0x1

    invoke-virtual {v0, v1}, Lcom/bitauto/autoeasy/selectcar/BrandTypeActivity;->setTitleProgressBar(Z)V

    .line 26
    return-void
.end method

.method public setSign(I)V
    .locals 0
    .parameter "sign"

    .prologue
    .line 39
    iput p1, p0, Lcom/bitauto/autoeasy/picture/Task/ChangeGroupTask;->sign:I

    .line 40
    return-void
.end method
